package com.gljx.web.Entity;

import java.util.List;

public class Power {
	
	private String id;

	private String name;//节点名称
	
	private Integer userId;//用户ID
	
	private Integer pid;//父ID

	private String _pid;//easyUI树组件

	private String state;//节点是否默认展开
	
	private String type;//节点类型
	
	private String iconCls;//节点图标
	
	private String url;//节点路径
	
	private String projectId;//项目标识
	
	private String easyID;//easyUI数据的唯一约束
	
	private Integer isUse;//该权限是否使用

	private Integer leavel;//层级

	private Integer sortId;//排序
	
	private List<Power> children;//子节点
	
	public Integer getIsUse() {
		return isUse;
	}

	public void setIsUse(Integer isUse) {
		this.isUse = isUse;
	}

	public String getEasyID() {
		return easyID;
	}

	public void setEasyID(String easyID) {
		this.easyID = easyID;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}


	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public List<Power> getChildren() {
		return children;
	}

	public void setChildren(List<Power> children) {
		this.children = children;
	}


	public Integer getLeavel() {
		return leavel;
	}

	public void setLeavel(Integer leavel) {
		this.leavel = leavel;
	}

	public Integer getSortId() {
		return sortId;
	}

	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	public String get_pid() {
		return _pid;
	}

	public void set_pid(String _pid) {
		this._pid = _pid;
	}
}
